object FrmRepLoadUnLoadContrast: TFrmRepLoadUnLoadContrast
  Left = 0
  Top = 0
  Width = 1103
  Height = 493
  OnCreate = UniFrameCreate
  Align = alNone
  Anchors = [akLeft, akTop]
  ShowHint = False
  Visible = True
  Font.Height = -12
  TabOrder = 0
  ParentFont = True
  object UniPanel2: TUniPanel
    Left = 0
    Top = 0
    Width = 1103
    Height = 66
    Align = alTop
    Anchors = [akLeft, akTop, akRight]
    Color = clBtnFace
    TabOrder = 0
    ExplicitLeft = 4
    ExplicitTop = 6
    ExplicitWidth = 1095
    object UniLabel3: TUniLabel
      Left = 13
      Top = 9
      Width = 52
      Height = 14
      Caption = #24320#22987#26085#26399':'
      TabOrder = 1
    end
    object UniLabel9: TUniLabel
      Left = 13
      Top = 37
      Width = 52
      Height = 14
      Caption = #25130#27490#26085#26399':'
      TabOrder = 2
    end
    object edtstartDate: TUniDateTimePicker
      Left = 71
      Top = 7
      Width = 114
      Height = 21
      DateTime = 41302.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      Kind = tUniDate
      FirstDayOfWeek = dowLocaleDefault
      TabOrder = 3
      ParentColor = False
      Color = clWhite
    end
    object edtEndDate: TUniDateTimePicker
      Left = 71
      Top = 36
      Width = 114
      Height = 21
      DateTime = 41302.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      Kind = tUniDate
      FirstDayOfWeek = dowLocaleDefault
      TabOrder = 4
      ParentColor = False
      Color = clWhite
    end
    object UniLabel11: TUniLabel
      Left = 195
      Top = 9
      Width = 52
      Height = 14
      Caption = #35013#36710#31449#28857':'
      TabOrder = 5
    end
    object cbSendNode: TUniDBLookupComboBox
      Left = 257
      Top = 7
      Width = 139
      Height = 23
      ListField = 'NODE_NAME'
      ListSource = dsNode
      KeyField = 'NODE_NO'
      ListFieldIndex = 0
      TabOrder = 6
      OnKeyDown = cbSendNodeKeyDown
    end
    object UniLabel12: TUniLabel
      Left = 195
      Top = 37
      Width = 52
      Height = 14
      Caption = #21368#36710#31449#28857':'
      TabOrder = 7
    end
    object cbDestNode: TUniDBLookupComboBox
      Left = 257
      Top = 36
      Width = 139
      Height = 23
      ListField = 'NODE_NAME'
      ListSource = dsNodeDown
      KeyField = 'NODE_NO'
      ListFieldIndex = 0
      TabOrder = 8
      OnKeyDown = cbSendNodeKeyDown
    end
    object UniLabel13: TUniLabel
      Left = 407
      Top = 9
      Width = 52
      Height = 14
      Caption = #37197#36865#21333#21495':'
      TabOrder = 9
    end
    object edtBillNo: TUniEdit
      Left = 469
      Top = 7
      Width = 179
      Height = 22
      PasswordChar = #0
      CharCase = ecNormal
      MaxLength = 0
      CharEOL = #0
      TabOrder = 10
      Color = clWindow
    end
    object UniLabel16: TUniLabel
      Left = 407
      Top = 37
      Width = 52
      Height = 14
      Caption = #36319#36710#21333#21495':'
      TabOrder = 11
    end
    object edtTruckNo: TUniEdit
      Left = 469
      Top = 36
      Width = 179
      Height = 22
      PasswordChar = #0
      CharCase = ecNormal
      MaxLength = 0
      CharEOL = #0
      TabOrder = 12
      Color = clWindow
    end
    object btFind: TUniBitBtn
      Left = 886
      Top = 5
      Width = 92
      Height = 51
      Glyph.Data = {
        36040000424D3604000000000000360000002800000010000000100000000100
        2000000000000004000000000000000000000000000000000000000000000000
        00004E2C166B894A23BCAE5F2EEDB4632EF7B4632EF7B4632EF7B4622EF7B462
        2EF7B3622DF7B3622DF7B3612DF7AD5E2BEF884921BD47261263000000000000
        0000A45B2CDEEBE5DEF2F5EADDFDF6EBDEFFF6EADEFFF6EADCFFF6EADCFFFAF3
        EBFFFAF3EBFFFAF2EAFFFCF7F3FFFAF6F2FDEFEFEEF0995023D5000000000000
        0000B86D36F5F4EADEFEFDBF68FFFCBD67FFFBBE65FFFCBE64FFFCBE64FFFCBD
        62FFFBBD63FFFBBC61FFFCBE60FFFCBC62FFFBF9F6FDB05F2BF3000000000000
        0000BB743AF7F7EDE3FFFDC26EFFFFD8A0FFFFD79EFFFFD69BFFFFD798FFFFD6
        96FFFFD695FFFFD594FFFFD493FFFBBE65FFFBF7F4FFB5642FF7383430D93D38
        33D94B3E31FE58544FFFB68642FF3D3020FF413524FF372B1BFF3B2C15FFF7B3
        52FFF7B352FFF7B251FFF7B24FFFF7B24FFFFCF9F5FFB96C34F7635B54FFA79A
        8DFF70675EFF453F3AFFAD9C91FF5C554EFF968A7FFF665E56FF1B1918FFFCE4
        D1FFFCE2CEFFFCE2CCFFFBE0C9FFFBE1C8FFFDFAF7FFBB7239F771685FFFC1B6
        ABFF797066FF625C56FFBAA99CFF6E665DFFBDB1A5FF7E746AFF332E2BFFFDE5
        D3FFFCE4D1FFFCE2CDFFFBE1CBFFFBE1C9FFFBF7F2FFBF783DF7726960F8C4B9
        AFFFA79A8DFF807A73FFD6C3B4FF6C635CFFBBAFA4FFA6988BFF534D46FFFDE5
        D3FFFBE4D0FFFBE3CCFFFADFC7FFFADFC6FFFAF2EAFFC07C40F7605851EF6961
        58FF564F48FF4D4946FF8C8077FF403B37FF46423CFF3D3833FF2C2825FFFCE4
        D1FFFBE1CCFFFAE0C7FFF9DDC3FFF8DCC2FFFAF4EDFFC07E43F7201E1B855B54
        4DFFB0A090FF695D51FF867465FF63584EFFAA9888FF5A514AFF85796EFFFBE1
        CCFFFADFC7FFF8DCC2FFF6DABDFFF6D8BBFFFAF4EFFFC07F44F711100E1D615A
        52F385786FFF4A413BFF95867AFF564A40FF928374FF4F4740FFE4CFBBFFFAE0
        C8FFF8DCC2FFF5D6BBFFF3D4B5FFF1D2B3FFF8F4F0FFBE7E44F70706060F554F
        488F9C8F83FF524C47FFCBB7A7FF544D47FF908579FF9A8C7FFFF5DDC6FFF9DD
        C4FFF6D9BCFFF4E9DFFFF7F2ECFFFBF7F3FFF5EFE9FFBF7C44FB000000000A0A
        0912776D62FF756D65FFDDC8B5FF6F665EFF6C6259FFFBE2CBFFF9E0C8FFF8DC
        C2FFF5D6BAFFFDFBF8FFFCE6CDFFFAE5C9FFE2B684FF7C4F2BA6000000000000
        0000B57D45EAF7F3EFFCFAE0C7FFFBE1C9FFFBE2C9FFFBE0C8FFF9DFC5FFF8DB
        C1FFF4D6B8FFFFFBF8FFF6D8B4FFE1B07DFFD38D60F605030207000000000000
        0000966638C3E5E0DAECF5F1EBFCF8F4EDFFF8F3EDFFF8F3EDFFF8F3EDFFF8F2
        ECFFF7F2ECFFF2E6D7FFE2B27DFFD28E61F50503020700000000000000000000
        0000492F1A60936638BBBB834AEEC1874CF6C2884DF7C2884DF7C2894DF7C388
        4DF7C1874DF7A4723ED46F432291040201060000000000000000}
      Caption = #26597#35810
      TabOrder = 13
      OnClick = btFindClick
    end
    object chkQty: TUniCheckBox
      Left = 769
      Top = 11
      Width = 113
      Height = 17
      Checked = True
      Caption = #35013#21368#25968#37327#27604#23545
      TabOrder = 14
      OnClick = chkQtyClick
    end
    object chkNode: TUniCheckBox
      Left = 769
      Top = 34
      Width = 113
      Height = 17
      Checked = False
      Caption = #35013#21368#31449#28857#27604#23545
      TabOrder = 15
      OnClick = chkNodeClick
    end
    object pnlClose: TUniPanel
      Left = 1023
      Top = 1
      Width = 80
      Height = 64
      BorderStyle = ubsNone
      Align = alRight
      Anchors = [akTop, akRight, akBottom]
      Color = clBtnFace
      TabOrder = 16
      object btClose: TUniBitBtn
        Left = 12
        Top = 5
        Width = 62
        Height = 51
        Glyph.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FAFAFA05FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE01FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FCFCFC03B7AFA063FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00F2F2F20DB2A59174E9E9E817FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00BBB4A85BA78D5EB0FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00DDDBD926B08E51C8B78837EDEDECEC13FF00
          FF00FF00FF00FF00FF00FF00FF00D6D5D12EBD8D38EDAD9D808AFF00FF00FF00
          FF00FF00FF00FF00FF00C0BAB053B98D3FE8D9A13DFFB38C48DAFAFAFA05FF00
          FF00FF00FF00FCFCFC03BEB7AB58BA8D42E5D49B38FFCBC8C23FFF00FF00FF00
          FF00FAFAFA05AFA18784CB9639FED09C40FFCB983FFFBE8F3FF0B1A38A80B7AE
          9C6BAE9C7D91B18F54CBCC983AFFDDA644FFB08F58C6FAFAFA05FF00FF00DEDD
          DB25B19566B5D9A343FFCE9D44FFC99942FEC99941FECC9B42FFD4A043FFD5A1
          42FFD6A244FFD4A145FFD5A347FFCC993EFACFCCC73AFF00FF00F3F3F30CB296
          65B6ECB34FFFD0A14AFFCC9D47FECD9D47FECD9D47FECD9D48FECF9F48FFCF9F
          49FFD2A14AFFDDAA4CFFCC9D47F2BFB9AD57FF00FF00FF00FF00FF00FF00E2E1
          DF20B49C71AADFAB4DFFD6A750FFD0A24CFFCFA14DFED2A34EFFDDAB50FFDFAC
          4FFFD2A149FBB59A6CB1D5D2CE32FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00B6AB9775D5A54FF6DFAF57FFD5A854FFCEA24FF7B49A6DB1B8AD
          9A72D5D3CF32FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00CCC9C240C49F5DD7EEBC5FFFC6A059E3F2F2F20DFF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00EBEBEA15B9A176ACD1A553F1E4E3E11EFF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE01BEB7A95FE5E5E31CFF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
        Caption = #20851#38381
        ParentFont = False
        Font.Charset = ANSI_CHARSET
        Font.Height = -15
        Font.Name = #23435#20307
        TabOrder = 1
        OnClick = btCloseClick
      end
    end
  end
  object pgContrast: TUniPageControl
    Left = 0
    Top = 66
    Width = 1103
    Height = 427
    ActivePage = TabNode
    TabOrder = 1
    Align = alClient
    Anchors = [akLeft, akTop, akRight, akBottom]
    object TabQty: TUniTabSheet
      Caption = #35013#21368#25968#37327#27604#23545
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object GridBill: TUniDBGrid
        Left = 0
        Top = 0
        Width = 1095
        Height = 176
        TitleFont.Charset = ANSI_CHARSET
        TitleFont.Height = -13
        TitleFont.Name = #23435#20307
        DataSource = dsQtyMain
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
        WebOptions.Paged = False
        WebOptions.LoadMaskMsg = 'Please wait...'
        OnCellClick = GridBillCellClick
        OnColumnSort = GridBillColumnSort
        StripeRows = False
        Align = alTop
        Anchors = [akLeft, akTop, akRight]
        Font.Charset = ANSI_CHARSET
        Font.Height = -13
        Font.Name = #23435#20307
        ParentFont = False
        TabOrder = 0
        Columns = <
          item
            FieldName = 'TRUCK_NO'
            Title.Alignment = taCenter
            Title.Caption = #36319#36710#21333#21495
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 126
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'NEXT_NODE'
            Title.Alignment = taCenter
            Title.Caption = #21368#36710#31449#28857
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 126
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'BATCH_NO'
            Title.Alignment = taCenter
            Title.Caption = #21457#36710#29677#27425
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 123
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'LEVE_TIME'
            Title.Alignment = taCenter
            Title.Caption = #21457#36710#26102#38388
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 124
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'DRV_NAME'
            Title.Alignment = taCenter
            Title.Caption = #21496#26426
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 92
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'TCK_LICENSE'
            Title.Alignment = taCenter
            Title.Caption = #36710#29260#21495#30721
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 155
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'LOAD_PKG_CTN'
            Title.Alignment = taCenter
            Title.Caption = #35013#36710#25968#37327
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 78
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Alignment = taRightJustify
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'UNLOAD_PKG_CTN'
            Title.Alignment = taCenter
            Title.Caption = #21368#36710#25968#37327
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Width = 72
            Visible = True
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            Alignment = taRightJustify
            Expanded = False
            Sortable = True
          end>
      end
      object pgItem: TUniPageControl
        Left = 0
        Top = 176
        Width = 1095
        Height = 222
        ActivePage = UniTabSheet1
        TabOrder = 1
        Align = alClient
        Anchors = [akLeft, akTop, akRight, akBottom]
        object UniTabSheet1: TUniTabSheet
          Caption = #35013#36710#35760#24405
          ExplicitLeft = 0
          ExplicitTop = 0
          ExplicitWidth = 0
          ExplicitHeight = 0
          object UniPanel1: TUniPanel
            Left = 0
            Top = 152
            Width = 1087
            Height = 41
            Align = alBottom
            Anchors = [akLeft, akRight, akBottom]
            Color = clBtnFace
            TabOrder = 0
            object lblLoad: TUniLabel
              Left = 5
              Top = 6
              Width = 81
              Height = 25
              Caption = #21512#35745#20214#25968':'
              ParentFont = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clNavy
              Font.Height = -19
              Font.Name = #24494#36719#38597#40657
              TabOrder = 1
            end
          end
          object GrdDetail: TUniDBGrid
            Left = 0
            Top = 0
            Width = 1087
            Height = 152
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Height = -13
            TitleFont.Name = #23435#20307
            DataSource = dsQtyLoad
            Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
            WebOptions.Paged = False
            WebOptions.LoadMaskMsg = 'Please wait...'
            WebOptions.KeyNavigation = knDisabled
            WebOptions.FetchAll = True
            OnColumnSort = GrdDetailColumnSort
            StripeRows = False
            Align = alClient
            Anchors = [akLeft, akTop, akRight, akBottom]
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            ParentFont = False
            TabOrder = 1
            Columns = <
              item
                FieldName = 'BILL_NO'
                Title.Alignment = taCenter
                Title.Caption = #37197#36865#21333#21495
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 170
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'OP_TIME'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#26102#38388
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 156
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NODE_NO'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#31449#28857
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 127
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NODE_NAME'
                Title.Alignment = taCenter
                Title.Caption = #31449#28857#21517#31216
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 125
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'EMP_NAME'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#20154#21592
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 85
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'BATCH_NO'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#25209#27425
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 107
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NEXT_NODE'
                Title.Alignment = taCenter
                Title.Caption = #19979#19968#27425#31449#28857
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 116
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NEXT_NAME'
                Title.Alignment = taCenter
                Title.Caption = #31449#28857#21517#31216
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 127
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end>
          end
        end
        object UniTabSheet2: TUniTabSheet
          Caption = #21368#36710#35760#24405
          ExplicitLeft = 0
          ExplicitTop = 0
          ExplicitWidth = 0
          ExplicitHeight = 0
          object UniPanel3: TUniPanel
            Left = 0
            Top = 152
            Width = 1087
            Height = 41
            Align = alBottom
            Anchors = [akLeft, akRight, akBottom]
            Color = clBtnFace
            TabOrder = 0
            object lblunLoad: TUniLabel
              Left = 5
              Top = 6
              Width = 81
              Height = 25
              Caption = #21512#35745#20214#25968':'
              ParentFont = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clNavy
              Font.Height = -19
              Font.Name = #24494#36719#38597#40657
              TabOrder = 1
            end
          end
          object UniDBGrid1: TUniDBGrid
            Left = 0
            Top = 0
            Width = 1087
            Height = 152
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Height = -13
            TitleFont.Name = #23435#20307
            DataSource = dsQtyUnLoad
            Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
            WebOptions.Paged = False
            WebOptions.LoadMaskMsg = 'Please wait...'
            WebOptions.KeyNavigation = knDisabled
            WebOptions.FetchAll = True
            OnColumnSort = UniDBGrid1ColumnSort
            StripeRows = False
            Align = alClient
            Anchors = [akLeft, akTop, akRight, akBottom]
            Font.Charset = ANSI_CHARSET
            Font.Height = -13
            Font.Name = #23435#20307
            ParentFont = False
            TabOrder = 1
            Columns = <
              item
                FieldName = 'BILL_NO'
                Title.Alignment = taCenter
                Title.Caption = #37197#36865#21333#21495
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 170
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'OP_TIME'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#26102#38388
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 156
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NODE_NO'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#31449#28857
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 127
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NODE_NAME'
                Title.Alignment = taCenter
                Title.Caption = #31449#28857#21517#31216
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 125
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'EMP_NAME'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#20154#21592
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 85
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'BATCH_NO'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#25209#27425
                Title.Font.Charset = ANSI_CHARSET
                Title.Font.Height = -13
                Title.Font.Name = #23435#20307
                Width = 107
                Visible = True
                Font.Charset = ANSI_CHARSET
                Font.Height = -13
                Font.Name = #23435#20307
                Expanded = False
                Sortable = True
              end>
          end
        end
      end
    end
    object TabNode: TUniTabSheet
      Caption = #35013#21368#31449#28857#27604#23545
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object GrdNode: TUniDBGrid
        Left = 0
        Top = 0
        Width = 1095
        Height = 209
        Hint = #21452#20987#26597#30475#36816#21333#36319#36394#26126#32454
        ShowHint = True
        ParentShowHint = False
        TitleFont.Height = -12
        DataSource = dsNodeLoad
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
        WebOptions.Paged = False
        WebOptions.LoadMaskMsg = 'Please wait...'
        OnCellClick = GrdNodeCellClick
        OnColumnSort = GrdNodeColumnSort
        OnDblClick = GrdNodeDblClick
        StripeRows = False
        Align = alTop
        Anchors = [akLeft, akTop, akRight]
        TabOrder = 0
        Columns = <
          item
            FieldName = 'TRUCK_NO'
            Title.Alignment = taCenter
            Title.Caption = #36319#36710#21333#21495
            Title.Font.Height = -12
            Width = 171
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'BILL_NO'
            Title.Alignment = taCenter
            Title.Caption = #36135#36816#21333#21495
            Title.Font.Height = -12
            Width = 174
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'NODE_NO'
            Title.Alignment = taCenter
            Title.Caption = #35013#36710#31449#28857
            Title.Font.Height = -12
            Width = 142
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'NODE_NAME'
            Title.Alignment = taCenter
            Title.Caption = #31449#28857#21517#31216
            Title.Font.Height = -12
            Width = 132
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'NEXT_NODE'
            Title.Alignment = taCenter
            Title.Caption = #19979#19968#31449#28857
            Title.Font.Height = -12
            Width = 111
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'NEXT_NAME'
            Title.Alignment = taCenter
            Title.Caption = #19979#19968#31449#28857#21517#31216
            Title.Font.Height = -12
            Width = 102
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'EMP_NAME'
            Title.Alignment = taCenter
            Title.Caption = #25805#20316#20154#21592
            Title.Font.Height = -12
            Width = 120
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'BATCH_NO'
            Title.Alignment = taCenter
            Title.Caption = #25805#20316#25209#27425
            Title.Font.Height = -12
            Width = 123
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end
          item
            FieldName = 'OP_TIME'
            Title.Alignment = taCenter
            Title.Caption = #35013#36710#26102#38388
            Title.Font.Height = -12
            Width = 142
            Visible = True
            Font.Height = -12
            Expanded = False
            Sortable = True
          end>
      end
      object UniPageControl1: TUniPageControl
        Left = 0
        Top = 209
        Width = 1095
        Height = 189
        ActivePage = UniTabSheet3
        TabOrder = 1
        Align = alClient
        Anchors = [akLeft, akTop, akRight, akBottom]
        object UniTabSheet3: TUniTabSheet
          Caption = #21368#36710#35760#24405
          ExplicitLeft = 0
          ExplicitTop = 0
          ExplicitWidth = 0
          ExplicitHeight = 0
          object UniDBGrid2: TUniDBGrid
            Left = 0
            Top = 0
            Width = 1087
            Height = 209
            Hint = #21452#20987#26597#30475#36816#21333#36319#36394#26126#32454
            ShowHint = True
            ParentShowHint = False
            TitleFont.Height = -12
            DataSource = dsNodeUnLoad
            Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
            WebOptions.Paged = False
            WebOptions.LoadMaskMsg = 'Please wait...'
            OnCellClick = UniDBGrid2CellClick
            OnColumnSort = UniDBGrid2ColumnSort
            OnDblClick = UniDBGrid2DblClick
            StripeRows = False
            Align = alTop
            Anchors = [akLeft, akTop, akRight]
            TabOrder = 0
            Columns = <
              item
                FieldName = 'NODE_NO'
                Title.Alignment = taCenter
                Title.Caption = #21368#36710#31449#28857
                Title.Font.Height = -12
                Width = 128
                Visible = True
                Font.Height = -12
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'NODE_NAME'
                Title.Alignment = taCenter
                Title.Caption = #31449#28857#21517#31216
                Title.Font.Height = -12
                Width = 144
                Visible = True
                Font.Height = -12
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'EMP_NAME'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#20154#21592
                Title.Font.Height = -12
                Width = 154
                Visible = True
                Font.Height = -12
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'BATCH_NO'
                Title.Alignment = taCenter
                Title.Caption = #25805#20316#25209#27425
                Title.Font.Height = -12
                Width = 143
                Visible = True
                Font.Height = -12
                Expanded = False
                Sortable = True
              end
              item
                FieldName = 'OP_TIME'
                Title.Alignment = taCenter
                Title.Caption = #21368#36710#26102#38388
                Title.Font.Height = -12
                Width = 180
                Visible = True
                Font.Height = -12
                Expanded = False
                Sortable = True
              end>
          end
        end
      end
    end
  end
  object InfoFind: TUniScreenMask
    AttachedControl = btFind
    Enabled = True
    DisplayMessage = #27491#22312#25552#20132#26597#35810#65292#35831#31245#21518'...'
    Left = 600
    Top = 184
  end
  object crsNodeLoad: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select t.BILL_NO,t.TRUCK_NO,t.OP_TIME,t.NODE_NO,t.NODE_NAME,t.EM' +
      'P_NO,t.EMP_NAME,BATCH_NO,t.NEXT_NODE,t.NEXT_NAME from TSP_TRANCE' +
      ' t where t.GROUP_CODE='#39'szqch'#39' and t.OP_CODE='#39'10'#39' and t.NEXT_NODE' +
      ' is not null '#13#10'and t.OP_TIME>='#39'2017-03-23'#39' and t.OP_TIME<='#39'2017-' +
      '03-23 23:59:59'#39' '#13#10'and exists(select ID from TSP_TRANCE where GRO' +
      'UP_CODE='#39'szqch'#39' and OP_CODE='#39'11'#39' and BILL_NO=t.BILL_NO and TRUCK' +
      '_NO=t.TRUCK_NO  and NODE_NO<>t.NEXT_NODE  '#13#10'and OP_TIME>=t.OP_TI' +
      'ME and OP_TIME=(select min(OP_TIME) from TSP_TRANCE where OP_COD' +
      'E='#39'11'#39' and BILL_NO=t.BILL_NO and TRUCK_NO=t.TRUCK_NO and GROUP_C' +
      'ODE='#39'szqch'#39'))'
    AppServer = dmExpress.AppServer
    Left = 328
    Top = 176
    object crsNodeLoadBILL_NO: TStringField
      DisplayLabel = #36135#36816#21333#21495
      FieldName = 'BILL_NO'
    end
    object crsNodeLoadTRUCK_NO: TStringField
      DisplayLabel = #36319#36710#21333#21495
      FieldName = 'TRUCK_NO'
      Size = 50
    end
    object crsNodeLoadOP_TIME: TStringField
      DisplayLabel = #35013#36710#26102#38388
      FieldName = 'OP_TIME'
    end
    object crsNodeLoadNODE_NO: TStringField
      DisplayLabel = #35013#36710#31449#28857
      FieldName = 'NODE_NO'
    end
    object crsNodeLoadNODE_NAME: TStringField
      DisplayLabel = #31449#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsNodeLoadEMP_NO: TStringField
      FieldName = 'EMP_NO'
    end
    object crsNodeLoadEMP_NAME: TStringField
      DisplayLabel = #25805#20316#20154#21592
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsNodeLoadBATCH_NO: TStringField
      DisplayLabel = #25805#20316#25209#27425
      FieldName = 'BATCH_NO'
      Size = 50
    end
    object crsNodeLoadNEXT_NODE: TStringField
      DisplayLabel = #19979#19968#31449#28857
      FieldName = 'NEXT_NODE'
      Size = 50
    end
    object crsNodeLoadNEXT_NAME: TStringField
      DisplayLabel = #19979#19968#31449#28857#21517#31216
      FieldName = 'NEXT_NAME'
      Size = 50
    end
  end
  object dsNodeLoad: TDataSource
    DataSet = crsNodeLoad
    Left = 424
    Top = 176
  end
  object dsQtyMain: TDataSource
    DataSet = crsQtyMain
    Left = 800
    Top = 192
  end
  object crsQtyMain: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select tt.TRUCK_NO, tt.BATCH_NO,tt.LEVE_TIME, tt.TCK_LICENSE, tt' +
      '.DRV_NAME, tp.NEXT_NODE,ti.LOAD_PKG_CTN, tu.UNLOAD_PKG_CTN from ' +
      'TSP_TCKBILL tt  '#13#10'join (  select TRUCK_NO, NEXT_NODE from TSP_TR' +
      'ANCE where GROUP_CODE='#39'szqch'#39' and OP_CODE='#39'10'#39' and NEXT_NODE is ' +
      'not null and OP_TIME>='#39'2017-03-23'#39' and OP_TIME<='#39'2017-03-23 23:5' +
      '9:59'#39' GROUP BY TRUCK_NO, NEXT_NODE) tp  '#13#10'on tp.TRUCK_NO=tt.TRUC' +
      'K_NO left join  (select count(ID) LOAD_PKG_CTN, TRUCK_NO, NEXT_N' +
      'ODE from TSP_TRANCE where GROUP_CODE='#39'szqch'#39' and OP_CODE='#39'10'#39' gr' +
      'oup by TRUCK_NO,NEXT_NODE) ti on ti.TRUCK_NO=tp.TRUCK_NO and ti.' +
      'NEXT_NODE=tp.NEXT_NODE  '#13#10'left join  (select count(ID) UNLOAD_PK' +
      'G_CTN, TRUCK_NO,NODE_NO from TSP_TRANCE where GROUP_CODE='#39'szqch'#39 +
      ' and OP_CODE='#39'11'#39' group by TRUCK_NO,NODE_NO) tu on tu.TRUCK_NO=t' +
      'p.TRUCK_NO and tu.NODE_NO=tp.NEXT_NODE  where tt.GROUP_CODE='#39'szq' +
      'ch'#39
    AppServer = dmExpress.AppServer
    Left = 720
    Top = 192
    object crsQtyMainTRUCK_NO: TStringField
      DisplayLabel = #36319#36710#21333#21495
      FieldName = 'TRUCK_NO'
      Size = 50
    end
    object crsQtyMainBATCH_NO: TStringField
      DisplayLabel = #21457#36710#29677#27425
      FieldName = 'BATCH_NO'
      Size = 50
    end
    object crsQtyMainLEVE_TIME: TStringField
      DisplayLabel = #21457#36710#26102#38388
      FieldName = 'LEVE_TIME'
    end
    object crsQtyMainTCK_LICENSE: TStringField
      DisplayLabel = #36710#29260#21495#30721
      FieldName = 'TCK_LICENSE'
      Size = 50
    end
    object crsQtyMainDRV_NAME: TStringField
      DisplayLabel = #21496#26426
      FieldName = 'DRV_NAME'
      Size = 50
    end
    object crsQtyMainNEXT_NODE: TStringField
      DisplayLabel = #21368#36710#31449#28857
      FieldName = 'NEXT_NODE'
      Size = 50
    end
    object crsQtyMainLOAD_PKG_CTN: TFloatField
      DisplayLabel = #35013#36710#25968#37327
      FieldName = 'LOAD_PKG_CTN'
    end
    object crsQtyMainUNLOAD_PKG_CTN: TFloatField
      DisplayLabel = #21368#36710#25968#37327
      FieldName = 'UNLOAD_PKG_CTN'
    end
  end
  object dsNode: TDataSource
    DataSet = crsNode
    Left = 160
    Top = 128
  end
  object crsQtyLoad: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select BILL_NO, OP_TIME, NODE_NO, NODE_NAME, EMP_NO, EMP_NAME,BA' +
      'TCH_NO, NEXT_NODE,NEXT_NAME,OP_CODE  from TSP_TRANCE where GROUP' +
      '_CODE='#39'szqch'#39' and TRUCK_NO='#39#39' and OP_CODE='#39'10'#39' and NEXT_NODE='#39#39
    AppServer = dmExpress.AppServer
    Left = 720
    Top = 248
    object crsQtyLoadBILL_NO: TStringField
      DisplayLabel = #37197#36865#21333#21495
      FieldName = 'BILL_NO'
    end
    object crsQtyLoadOP_TIME: TStringField
      DisplayLabel = #25805#20316#26102#38388
      FieldName = 'OP_TIME'
    end
    object crsQtyLoadNODE_NO: TStringField
      DisplayLabel = #25805#20316#31449#28857
      FieldName = 'NODE_NO'
    end
    object crsQtyLoadNODE_NAME: TStringField
      DisplayLabel = #31449#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsQtyLoadEMP_NO: TStringField
      FieldName = 'EMP_NO'
    end
    object crsQtyLoadEMP_NAME: TStringField
      DisplayLabel = #25805#20316#20154#21592
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsQtyLoadBATCH_NO: TStringField
      DisplayLabel = #25805#20316#25209#27425
      FieldName = 'BATCH_NO'
      Size = 50
    end
    object crsQtyLoadNEXT_NODE: TStringField
      DisplayLabel = #19979#19968#27425#31449#28857
      FieldName = 'NEXT_NODE'
      Size = 50
    end
    object crsQtyLoadNEXT_NAME: TStringField
      DisplayLabel = #31449#28857#21517#31216
      FieldName = 'NEXT_NAME'
      Size = 50
    end
    object crsQtyLoadOP_CODE: TStringField
      FieldName = 'OP_CODE'
    end
  end
  object dsQtyLoad: TDataSource
    DataSet = crsQtyLoad
    Left = 800
    Top = 248
  end
  object crsQtyUnLoad: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select BILL_NO, OP_TIME, NODE_NO, NODE_NAME, EMP_NO, EMP_NAME,BA' +
      'TCH_NO, NEXT_NODE,NEXT_NAME,OP_CODE  from TSP_TRANCE where GROUP' +
      '_CODE='#39'szqch'#39' and TRUCK_NO='#39#39' and OP_CODE='#39'11'#39' and NODE_NO='#39#39
    AppServer = dmExpress.AppServer
    Left = 720
    Top = 304
    object crsQtyUnLoadBILL_NO: TStringField
      DisplayLabel = #37197#36865#21333#21495
      FieldName = 'BILL_NO'
    end
    object crsQtyUnLoadOP_TIME: TStringField
      DisplayLabel = #25805#20316#26102#38388
      FieldName = 'OP_TIME'
    end
    object crsQtyUnLoadNODE_NO: TStringField
      DisplayLabel = #25805#20316#31449#28857
      FieldName = 'NODE_NO'
    end
    object crsQtyUnLoadNODE_NAME: TStringField
      DisplayLabel = #31449#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsQtyUnLoadEMP_NO: TStringField
      FieldName = 'EMP_NO'
    end
    object crsQtyUnLoadEMP_NAME: TStringField
      DisplayLabel = #25805#20316#20154#21592
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsQtyUnLoadBATCH_NO: TStringField
      DisplayLabel = #25805#20316#25209#27425
      FieldName = 'BATCH_NO'
      Size = 50
    end
    object crsQtyUnLoadNEXT_NODE: TStringField
      FieldName = 'NEXT_NODE'
      Size = 50
    end
    object crsQtyUnLoadNEXT_NAME: TStringField
      FieldName = 'NEXT_NAME'
      Size = 50
    end
    object crsQtyUnLoadOP_CODE: TStringField
      FieldName = 'OP_CODE'
    end
  end
  object dsQtyUnLoad: TDataSource
    DataSet = crsQtyUnLoad
    Left = 801
    Top = 304
  end
  object crsNodeUnLoad: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select NODE_NO,NODE_NAME,EMP_NO,EMP_NAME,OP_TIME,BATCH_NO from T' +
      'SP_TRANCE where TRUCK_NO='#39'QCHCL170320133857'#39' and BILL_NO='#39'QCH170' +
      '320133918-1'#39' '#13#10'and NODE_NO<>'#39'QCHGHJ01'#39' and OP_CODE='#39'11'#39' and OP_T' +
      'IME>='#39'2017-03-20 13:40:29'#39' and OP_TIME=(select min(OP_TIME) from' +
      ' TSP_TRANCE where GROUP_CODE='#39'szqch'#39' '#13#10'and TRUCK_NO='#39'QCHCL170320' +
      '133857'#39' and BILL_NO='#39'QCH170320133918-1'#39' and OP_CODE='#39'11'#39')'
    AppServer = dmExpress.AppServer
    Left = 328
    Top = 256
    object crsNodeUnLoadNODE_NO: TStringField
      DisplayLabel = #21368#36710#31449#28857
      FieldName = 'NODE_NO'
    end
    object crsNodeUnLoadNODE_NAME: TStringField
      DisplayLabel = #31449#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsNodeUnLoadEMP_NO: TStringField
      FieldName = 'EMP_NO'
    end
    object crsNodeUnLoadEMP_NAME: TStringField
      DisplayLabel = #25805#20316#20154#21592
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsNodeUnLoadOP_TIME: TStringField
      DisplayLabel = #21368#36710#26102#38388
      FieldName = 'OP_TIME'
    end
    object crsNodeUnLoadBATCH_NO: TStringField
      DisplayLabel = #25805#20316#25209#27425
      FieldName = 'BATCH_NO'
      Size = 50
    end
  end
  object dsNodeUnLoad: TDataSource
    DataSet = crsNodeUnLoad
    Left = 432
    Top = 256
  end
  object crsNode: TClientRowSet
    Aggregates = <>
    Left = 160
    Top = 200
  end
  object crsNodeDown: TClientRowSet
    Aggregates = <>
    Left = 72
    Top = 128
  end
  object dsNodeDown: TDataSource
    DataSet = crsNodeDown
    Left = 72
    Top = 184
  end
end
